package ace.module.oauth2.server.sdk.autoconfig;

import ace.cmp.openfeign.core.EnableAceFeignClients;
import ace.module.oauth2.server.sdk.core.api.impl.Oauth2ApiImpl;
import ace.module.oauth2.server.sdk.core.feign.impl.FeignBoostrapScanner;
import ace.module.oauth2.server.sdk.core.service.Oauth2AuthApiService;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * sdk bootstrap auto config.
 *
 * @author Caspar
 */
@EnableAceFeignClients(basePackageClasses = {FeignBoostrapScanner.class})
@ComponentScan(basePackageClasses = {Oauth2AuthApiService.class, Oauth2ApiImpl.class})
@Configuration
public class Oauth2ServerSdkAutoConfig {}
